<?php

/**
 * Partneremail form.
 *
 * @package    billingSystem
 * @subpackage form
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class PartneremailForm extends BasePartneremailForm
{
  public function configure()
  {
      $this->widgetSchema['email'] = new sfWidgetFormInputText();
      $this->validatorSchema['email'] = new sfValidatorEmail();
      $this->validatorSchema['pid'] = new sfValidatorString(array('required'=>false));
      
      //$this->validatorSchema['email'] = new sfValidatorAnd(array(
      //$this->validatorSchema['email'],
     // new sfValidatorEmail()
   // ));
      unset($this['created_at'], $this['updated_at']);
  }
}
